import { boot } from 'quasar/wrappers';
import { createPinia } from 'pinia';

import { setStatus } from 'src/services/api';

export const pinia = createPinia();
// "async" is optional;
// more info on params: https://v2.quasar.dev/quasar-cli/boot-files
export default boot(async ({ app }) => {
  // something to do
  app.use(pinia);
  await setStatus();
});
